package cn.bestick.cblog.service;

import java.util.List;
import cn.bestick.cblog.dmo.Msg;
import cn.bestick.cblog.dto.MsgDto;

public interface MsgService {
	// getCommments(articleId) 获取评论
	public List<MsgDto> getComments(int articleId);

	// getLeaveMsgs() 获取留言
	public List<MsgDto> getLeaveMsgs();

	// saveMsg() 新信息
	public void saveMsg(Msg msg);

	// deleteMsg(msgId) 删除
	public void deleteMsg(int id);

	public List<MsgDto> getRecentMsgs();

	public List<MsgDto> getAll();
}
